<?php $this->load->view('header'); ?>

<fieldset><legend accesskey="N" tabindex="1"><?=$title?></legend>
	<form  id="Form" method="post" target="_self">
		<dl>
        <?php
        foreach($sq as $k => $v){
            echo '<dt>'.$k."?</dt>\n".'<dd>'.form_dropdown($k, $v)."</dd><br />\n";
        }
        ?>
		
		<dt><label class="form" for="sq"></label></dt>
		<dd><input type="submit" name="sq" value="Submit"></dd>
		</dl>
	</form>
</fieldset>
<?php
if(isset($dbsq)){
?>
<fieldset><legend accesskey="N" tabindex="1">Your Answers</legend>
<?=$dbsq?>
</fieldset>
<?php
}
?>



<?php $this->load->view('footer'); ?>
